package com.service.Impl;

import java.util.Date;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.entity.SuppilerAccountDetail;
import com.mapper.SuppilerAccountDetailMapper;
import com.service.SuppilerAccountDetailService;
@Service
public class SuppilerAccountDetailServiceImpl implements SuppilerAccountDetailService{

	@Autowired
	SuppilerAccountDetailMapper accountDetailMapper;
	public int insert(SuppilerAccountDetail suppilerAccountDetail) {
		// TODO Auto-generated method stub
		return accountDetailMapper.insert(suppilerAccountDetail);
	}
	public List<SuppilerAccountDetail> selectAlls() {
		// TODO Auto-generated method stub
		return accountDetailMapper.selectAlls();
	}
	public List<SuppilerAccountDetail> selectAccount(Integer accountId,String rudate) {
		// TODO Auto-generated method stub
		return accountDetailMapper.selectAccount(accountId, rudate);
	}

}
